#include "rewine.h"

#include <cstdio>
#include <cstring>

using namespace std;

int main(int argc, char* argv[]) {
    for (int i = 0; i < argc; ++i) {
        fprintf(stdout, "%d %s\n", i, argv[i]);
    }
    fflush(stdout);

    rewine_AddFindPath("/home/xp/code/rewine/tmp");
    rewine_AddFindPath("/usr/local/lib64/wine");

    auto handle = rewine_OpenImage("mpengine.dll");
    auto pfn = rewine_GetExportByName(handle, "__rsignal", -1);

    return 0;
}
